package com.haste;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

@SpringBootApplication
@EnableConfigServer
public class ConfigCenter {
    public static void main(String[] args) {
        //启动后访问http://localhost:3344/master/config-dev.yml即可读取到配置文件
        SpringApplication.run(ConfigCenter.class,args);
    }
}
